package cn.ym.org.service;

import cn.ym.basic.service.BaseService;

import cn.ym.basic.utils.AjaxResult;
import cn.ym.basic.utils.PageList;
import cn.ym.org.domain.Shop;
import cn.ym.org.domain.ShopAuditLog;
import cn.ym.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;


/**
 * 业务接口类：店铺
 */
public interface ShopService  extends BaseService<Shop> {
    //店铺入住
    void settlement(Shop shop);
    //审核通过
    void pass(ShopAuditLog auditLog) throws MessagingException;
    //驳回
    void reject(ShopAuditLog auditLog) throws MessagingException;
    //审核成功---激活邮件
    void active(Long id);
    //图形报表
    List<ShopDto> echarts();
}
